package com.ysd.entity;

import java.math.BigDecimal;

public class Product {
	
	private Integer id;
	private String name;
	private Integer productCategory;
	private String brand;
	private BigDecimal price;
	private BigDecimal discountPrice;
	private String color;
	private String imgs;
	private String edition;
	private String cpu;
	private String gpu;
	private String screenGamut;
	private String screenSize;
	private String memoryCapacity;
	private String system;
	private String instalment;
	private String stock;
	private String canUse;
	private String area;
	
	private Integer page;
	private Integer size;
	private Integer beginPrice;
	private Integer endPrice;
	
	private String categoryName;

	private Evaluate evaluate;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getProductCategory() {
		return productCategory;
	}

	public void setProductCategory(Integer productCategory) {
		this.productCategory = productCategory;
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public BigDecimal getDiscountPrice() {
		return discountPrice;
	}

	public void setDiscountPrice(BigDecimal discountPrice) {
		this.discountPrice = discountPrice;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public String getImgs() {
		return imgs;
	}

	public void setImgs(String imgs) {
		this.imgs = imgs;
	}

	public String getEdition() {
		return edition;
	}

	public void setEdition(String edition) {
		this.edition = edition;
	}

	public String getCpu() {
		return cpu;
	}

	public void setCpu(String cpu) {
		this.cpu = cpu;
	}

	public String getGpu() {
		return gpu;
	}

	public void setGpu(String gpu) {
		this.gpu = gpu;
	}

	public String getScreenGamut() {
		return screenGamut;
	}

	public void setScreenGamut(String screenGamut) {
		this.screenGamut = screenGamut;
	}

	public String getScreenSize() {
		return screenSize;
	}

	public void setScreenSize(String screenSize) {
		this.screenSize = screenSize;
	}

	public String getMemoryCapacity() {
		return memoryCapacity;
	}

	public void setMemoryCapacity(String memoryCapacity) {
		this.memoryCapacity = memoryCapacity;
	}

	public String getSystem() {
		return system;
	}

	public void setSystem(String system) {
		this.system = system;
	}

	public String getInstalment() {
		return instalment;
	}

	public void setInstalment(String instalment) {
		this.instalment = instalment;
	}

	public String getStock() {
		return stock;
	}

	public void setStock(String stock) {
		this.stock = stock;
	}

	public String getCanUse() {
		return canUse;
	}

	public void setCanUse(String canUse) {
		this.canUse = canUse;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getSize() {
		return size;
	}

	public void setSize(Integer size) {
		this.size = size;
	}

	public Integer getBeginPrice() {
		return beginPrice;
	}

	public void setBeginPrice(Integer beginPrice) {
		this.beginPrice = beginPrice;
	}

	public Integer getEndPrice() {
		return endPrice;
	}

	public void setEndPrice(Integer endPrice) {
		this.endPrice = endPrice;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public Evaluate getEvaluate() {
		return evaluate;
	}

	public void setEvaluate(Evaluate evaluate) {
		this.evaluate = evaluate;
	}

	public Product(Integer id, String name, Integer productCategory, String brand, BigDecimal price,
			BigDecimal discountPrice, String color, String imgs, String edition, String cpu, String gpu,
			String screenGamut, String screenSize, String memoryCapacity, String system, String instalment,
			String stock, String canUse, String area, Integer page, Integer size, Integer beginPrice, Integer endPrice,
			String categoryName, Evaluate evaluate) {
		super();
		this.id = id;
		this.name = name;
		this.productCategory = productCategory;
		this.brand = brand;
		this.price = price;
		this.discountPrice = discountPrice;
		this.color = color;
		this.imgs = imgs;
		this.edition = edition;
		this.cpu = cpu;
		this.gpu = gpu;
		this.screenGamut = screenGamut;
		this.screenSize = screenSize;
		this.memoryCapacity = memoryCapacity;
		this.system = system;
		this.instalment = instalment;
		this.stock = stock;
		this.canUse = canUse;
		this.area = area;
		this.page = page;
		this.size = size;
		this.beginPrice = beginPrice;
		this.endPrice = endPrice;
		this.categoryName = categoryName;
		this.evaluate = evaluate;
	}

	public Product() {
		super();
	}

	@Override
	public String toString() {
		return "Product [id=" + id + ", name=" + name + ", productCategory=" + productCategory + ", brand=" + brand
				+ ", price=" + price + ", discountPrice=" + discountPrice + ", color=" + color + ", imgs=" + imgs
				+ ", edition=" + edition + ", cpu=" + cpu + ", gpu=" + gpu + ", screenGamut=" + screenGamut
				+ ", screenSize=" + screenSize + ", memoryCapacity=" + memoryCapacity + ", system=" + system
				+ ", instalment=" + instalment + ", stock=" + stock + ", canUse=" + canUse + ", area=" + area
				+ ", page=" + page + ", size=" + size + ", beginPrice=" + beginPrice + ", endPrice=" + endPrice
				+ ", categoryName=" + categoryName + ", evaluate=" + evaluate + "]";
	}

}
